package example;

import java.io.Serializable;

import jvn.client.JvnException;
import jvn.client.annotation.ReadAndWrite;
import jvn.client.annotation.ReadOnly;
import jvn.client.annotation.SharedObject;


@SharedObject("object1")
public class Example extends SuperClass1 
	implements Interf1, Interf2, Serializable {
	private String sentence;
	public Example() throws JvnException {
	}
	@ReadOnly
	public int getSize() throws JvnException, 
					      NullPointerException{
		return sentence.length();
	}
	@ReadAndWrite
	public void add2Sentence(String add) {
		this.sentence += add; 
	}
	
	
	
	
	
	private static final long serialVersionUID = 1L;


	public Example(int a, float b, int c) throws JvnException, NullPointerException, IndexOutOfBoundsException {
		// TODO Auto-generated constructor stub
	}
	
	private void def() {

	}

	@ReadAndWrite
	@Override
	public void interf2() throws JvnException {
		// TODO Auto-generated method stub

	}

	@Override
	@ReadOnly
	public float interf1(int a, int b, String c) throws jvn.client.JvnException, IndexOutOfBoundsException,
	NullPointerException {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public void superMet1abstraite() throws JvnException {
		// TODO Auto-generated method stub

	}

	

}
